home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Bonus / Database / mysql-max-3.23.55.sit / mysql-max-3.23.55-apple-darwi.1 / mysql-test / t / check.test < prev    next >
Encoding:
Text File  |  2003-01-21  |  405 b   |  19 lines  |  [TEXT/ttxt]

  1. connect (con1,localhost,root,,);
  2. connect (con2,localhost,root,,);
  3. connection con1;
  4. drop table if exists t1;
  5. #add a lot of keys to slow down check
  6. create table t1(n int not null, key(n), key(n), key(n), key(n));
  7. let $1=10000;
  8. while ($1)
  9. {
  10.  eval insert into t1 values ($1);
  11.  dec $1;
  12. }
  13. send check table t1 type=extended;
  14. connection con2;
  15. insert into t1 values (200000);
  16. connection con1;
  17. reap;
  18. drop table t1;
  19.